package cn.yuemouren.stack;

/**
 * @Author: Timi
 * @Description: 栈接口
 * @Date: 2020/5/9 9:05
 * @Version: v1.0
 */
public interface Stack<T> {

    void push(T t);

    T pop();


    T peek();

    int getSize();

    boolean isEmpty();
}
